<template>
  <view class="container">
    <view class="container_box">

      <view class="container_box_number">
        5
      </view>

      <view class="container_box_img1">
        <image src="/static/images/circle-activities/btn2.png" mode="aspectFill"></image>
      </view>

      <view class="container_box_img2">
        <view class="container_box_coupon">
          <view class="container_box_coupon_box1">
            <view class="container_box_coupon_box_img">
              <text class="container_box_coupon_box_img_quantity">邀请<text
                  style="font-weight: 500;margin: 0 5rpx;">5</text>人</text>
              <view class="container_box_coupon_box_img_mon">
                ¥
                <text>10</text>
              </view>
              <text class="container_box_coupon_box_img_special">满10减10</text>
            </view>
            <view class="container_box_coupon_box_btn">
              立即领取
            </view>
          </view>
          <view class="container_box_coupon_box1">
            <view class="container_box_coupon_box_img">
              <text class="container_box_coupon_box_img_quantity">邀请<text
                  style="font-weight: 500;margin: 0 5rpx;">5</text>人</text>
              <view class="container_box_coupon_box_img_mon">
                ¥
                <text>10</text>
              </view>
              <text class="container_box_coupon_box_img_special">满10减10</text>
            </view>
            <view class="container_box_coupon_box_btn">
              立即领取
            </view>
          </view>
          <view class="container_box_coupon_box1">
            <view class="container_box_coupon_box_img">
              <text class="container_box_coupon_box_img_quantity">邀请<text
                  style="font-weight: 500;margin: 0 5rpx;">5</text>人</text>
              <view class="container_box_coupon_box_img_mon">
                ¥
                <text>10</text>
              </view>
              <text class="container_box_coupon_box_img_special">满10减10</text>
            </view>
            <view class="container_box_coupon_box_btn">
              立即领取
            </view>
          </view>
          <view class="container_box_coupon_box1">
            <view class="container_box_coupon_box_img">
              <text class="container_box_coupon_box_img_quantity">邀请<text
                  style="font-weight: 500;margin: 0 5rpx;">5</text>人</text>
              <view class="container_box_coupon_box_img_mon">
                ¥
                <text>10</text>
              </view>
              <text class="container_box_coupon_box_img_special">满10减10</text>
            </view>
            <view class="container_box_coupon_box_btn">
              立即领取
            </view>
          </view>
          <view class="container_box_coupon_box1">
            <view class="container_box_coupon_box_img">
              <text class="container_box_coupon_box_img_quantity">邀请<text
                  style="font-weight: 500;margin: 0 5rpx;">5</text>人</text>
              <view class="container_box_coupon_box_img_mon">
                ¥
                <text>10</text>
              </view>
              <text class="container_box_coupon_box_img_special">满10减10</text>
            </view>
            <view class="container_box_coupon_box_btn">
              立即领取
            </view>
          </view>
        </view>
        <text class="container_box_text">领取后可在【功能与服务-优惠券】里查看</text>
      </view>

      <view class="container_box_img3">
        <view class="container_box_img3_box">
          <scroll-view class="container_box_img3_box_scr" scroll-x>
            <view class="container_box_img3_box_scr_box">
              <image src="../../static/faarticle.png" mode="aspectFill"></image>
              <text>王牌几号</text>
            </view>
          </scroll-view>
          <!-- <text class="container_box_img3_no">暂时还没有好友助力哦~</text> -->
        </view>
      </view>
    </view>


    <van-popup :show="inviteShow" round custom-style="height:60%;width: 90%;" @close="inviteShow = false">
      <view class="inviteShowItem">
        <image src="/static/images/circle-activities/2.png" mode="widthFix"></image>
      </view>
    </van-popup>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        inviteShow: true
      };
    }
  }
</script>

<style lang="scss">
  /deep/ .van-popup {
    background-color: transparent !important;
  }

  .container {
    height: 500rpx;

    .container_box {
      position: relative;
      background-image: url(http://qichong-1256206693-1256206693.cos.ap-nanjing.myqcloud.com/upload/20210601/3e446dcf8ef4a34d35c0e5bbd7ea40df.jpg);
      height: 2326rpx;
      width: 100%;
      background-size: 100% auto;
      background-repeat: no-repeat;
      padding-top: 1rpx;

      .container_box_number {
        position: absolute;
        right: 144rpx;
        top: 325rpx;
        font-size: 86rpx;
        font-weight: bold;
      }

      .container_box_img1 {
        width: 100%;
        height: 107rpx;
        display: flex;
        justify-content: center;
        margin-top: 818rpx;

        image {
          width: 80%;
          height: 100%;
        }
      }

      .container_box_img2 {
        width: 100%;
        // height: 800rpx;
        display: flex;
        // justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-top: 185rpx;

        .container_box_coupon {
          width: 86%;
          height: 100%;
          display: flex;
          flex-wrap: wrap;

          .container_box_coupon_box1:nth-child(3n) {
            margin-right: 0 !important;
          }

          .container_box_coupon_box1 {
            width: 30%;
            margin-top: 45rpx;
            height: 325rpx;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            margin-right: 32rpx;

            .container_box_coupon_box_img {
              display: flex;
              align-items: center;
              flex-direction: column;
              width: 100%;
              height: 247rpx;
              background-image: url(http://qichong-1256206693-1256206693.cos.ap-nanjing.myqcloud.com/upload/20210601/2fd6e99bb3e351edeb4b8446741b5c61.png);
              background-size: 100%;
              color: #ff444b;

              .container_box_coupon_box_img_quantity {
                font-size: 30rpx;
                margin-top: 34rpx;
              }

              .container_box_coupon_box_img_mon {
                font-size: 24rpx;
                margin-top: 32rpx;

                text {
                  font-size: 70rpx;
                  font-weight: bold;
                }
              }

              .container_box_coupon_box_img_special {
                font-size: 26rpx;
                letter-spacing: 2rpx;
              }
            }

            .container_box_coupon_box_btn {
              width: 100%;
              height: 51rpx;
              background-color: #dcdcdc;
              font-size: 30rpx;
              color: #fff;
              text-align: center;
              line-height: 51rpx;
              border-radius: 25rpx;
              font-weight: 500;
            }
          }
        }

        .container_box_text {
          text-align: center;
          color: #ff444b;
          font-size: 26rpx;
          font-weight: 500;
          margin-top: 32rpx;
        }
      }

      .container_box_img3 {
        width: 100%;
        height: 200rpx;
        display: flex;
        justify-content: center;
        margin-top: 154rpx;

        .container_box_img3_box {
          width: 80%;
          height: 100%;
          // text-align: center;

          .container_box_img3_no {
            display: block;
            text-align: center;
            font-size: 28rpx;
            font-weight: 500;
            color: rgba(61, 61, 61, 0.6);
            line-height: 200rpx;
          }

          .container_box_img3_box_scr {
            width: 100%;
            height: 200rpx;
            display: flex;
            flex-direction: row;
            white-space: nowrap;

            .container_box_img3_box_scr_box:last-child {
              margin-right: 0rpx !important;
            }

            .container_box_img3_box_scr_box {
              width: 20%;
              height: 100%;
              display: inline-flex;
              flex-direction: column;
              align-items: center;
              justify-content: center;
              margin-right: 25rpx;

              image {
                width: 90rpx;
                height: 90rpx;
                border-radius: 50%;
              }

              text {
                margin-top: 15rpx;
                font-size: 26rpx;
                font-weight: 500;
              }
            }
          }
        }
      }
    }
  }

  .inviteShowItem {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(http://qichong-1256206693-1256206693.cos.ap-nanjing.myqcloud.com/upload/20210601/78d64f24c80518b851752bcbc260ad28.png) no-repeat;
    background-size: 100%;

    image {
      width: 25%;
      position: relative;
      bottom: 5px;
      left: 12px;
    }
  }
</style>
